.blocklyBox {
    width: 100%;
    flex: 1;

    ::ng-deep {
        .blocklyMainBackground {
            stroke-width: 0 !important;
        }

        .blocklyToolboxDiv {
            width: 180px;
            background: #323232;
            // border-right: 1px solid #E0E0E0;
            padding: 0;
            scrollbar-width: thin !important;
            scrollbar-color: rgba(255, 255, 255, 0.2) transparent;

            .blocklyTreeIcon {
                width: 40px;
            }

            .blocklyToolboxContents {
                .blocklyTreeSeparator {
                    display: none;
                }
            }

            .blocklyToolboxCategory {
                .blocklyTreeRow {
                    height: 40px;
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    width: 100%;
                    transition: all 0.3s;
                    margin-bottom: 0;
                    border: none !important;
                }

                .blocklyTreeSelected {
                    background: #929292 !important;
                }

                .blocklyTreeRowContentContainer {
                    display: flex;
                    align-items: center;

                    .tbc-icon-box {
                        margin-top: 3px;
                        font-size: 16px;
                        width: 40px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }

                }

                // 搜索框例外
                &:first-child {
                    .blocklyTreeSelected {
                        background: transparent !important;

                        &:hover {
                            background: transparent !important;
                        }
                    }
                }

                &:last-child {
                    padding-bottom: 70px;
                }
            }

            .blocklyTreeIcon {
                background: rgba(255, 255, 255, 0.85);
                mask: url('../../../public/imgs/chevron-right.svg') no-repeat center center;
                mask-size: contain;
                transition: transform 0.3s ease;

                &.blocklyTreeIconOpen {
                    transform: rotate(90deg);
                }
            }
        }

        .blocklyFlyoutLabelText {
            fill: #ccc;
        }

        .search-box {
            border-radius: 14px;
            margin: 0 10px;
            padding: 0 10px;
            width: 158px;
            height: 30px;
            background: #444;
            border: none;
            outline: none;
        }
    }
}